html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
// table {
//   border-collapse: collapse;
//   border-spacing: 0;
// }
html,
body {
  width: 100%;
  height: 100%;
}
img {
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

// ::-webkit-scrollbar {
//   width: 5px;
//   height: 5px;
//   background-color: #f5f5f5;
// }

// /*定义滚动条轨道 内阴影+圆角*/
// ::-webkit-scrollbar-track {
//   box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
//   -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
//   border-radius: 0;
//   background-color: #f5f5f5;
// }

// /*定义滑块 内阴影+圆角*/
// ::-webkit-scrollbar-thumb {
//   box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
//   border-radius: 0;
//   -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
//   background-color: #888888;
// }

/* 解决侧边栏样式错误的问题 */
.el-menu {
  border-right: none;
}
// .el-menu--collapse {
//   .el-submenu {
//     .el-submenu__title {
//       span {
//         height: 0;
//         width: 0;
//         overflow: hidden;
//         visibility: hidden;
//         display: inline-block;
//       }
//       .el-submenu__icon-arrow {
//         display: none;
//       }
//     }
//   }
// }

.app-container {
  width: 100%;
  min-height: 100%;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

#app {
  width: 100vw;
  height: 100vh;
}

.exceptionsMessageBox {
  width: 800px;
  .el-message-box__content {
    max-height: calc(100vh - 400px);
    overflow-y: auto;
    overflow-x: hidden;
    p {
      line-height: 2;
      white-space: pre-wrap;
      word-break: break-all;
      font-size: 14px;
    }
  }
}
